package com.hjm.java.entity;

import java.math.BigDecimal;
import java.util.Arrays;

public class Goods {
    private int id;
    private String name;

    private BigDecimal price;

    int[] banner;

    int icon;
    String[] type;

    int[] content;

    int store;

    public Goods(int id, String name, BigDecimal price, int[] banner, int icon, String[] type, int[] content, int store) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.banner = banner;
        this.icon = icon;
        this.type = type;
        this.content = content;
        this.store = store;
    }

    public Goods() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public int[] getBanner() {
        return banner;
    }

    public void setBanner(int[] banner) {
        this.banner = banner;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    public String[] getType() {
        return type;
    }

    public void setType(String[] type) {
        this.type = type;
    }

    public int[] getContent() {
        return content;
    }

    public void setContent(int[] content) {
        this.content = content;
    }

    public int getStore() {
        return store;
    }

    public void setStore(int store) {
        this.store = store;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", banner=" + Arrays.toString(banner) +
                ", icon=" + icon +
                ", type=" + Arrays.toString(type) +
                ", content=" + Arrays.toString(content) +
                ", store=" + store +
                '}';
    }
}
